package me.youline.dataServer.service;


import me.youline.dataServer.dao.UserFeedbackDAO;
import me.youline.dataServer.entity.UserFeedback;

import org.perf4j.aop.Profiled;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 反馈信息业务类
 * @author linhan
 *
 */
@Service
public class FeedbackService {
	@Autowired
	private UserFeedbackDAO feedbackDAO;
	
	@Transactional
	@Profiled(tag = "service-创建反馈信息")
	public void createFeedback(UserFeedback feedback){
		feedbackDAO.save(feedback);
	}
}
